package org.dromara.tearoom.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.annotation.DataColumn;
import org.dromara.common.mybatis.annotation.DataPermission;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.tearoom.domain.TerCleanerLog;
import org.dromara.tearoom.domain.bo.TerCleanerLogBo;
import org.dromara.tearoom.domain.vo.TerCleanerLogVo;

/**
 * 保洁记录Mapper接口
 *
 * @author ckj
 * @date 2025-04-18
 */
public interface TerCleanerLogMapper extends BaseMapperPlus<TerCleanerLog, TerCleanerLogVo> {

    /**
     * 根据条件分页查询保洁记录列表
     *
     * @param bo 查询条件
     * @return 用户信息集合信息
     */
    @DataPermission({
            @DataColumn(key = "deptName", value = "tcl.create_dept"),
            @DataColumn(key = "userName", value = "tcl.sys_user_id")
    })
    Page<TerCleanerLogVo> selectPageList(@Param("page") Page<TerCleanerLog> page,@Param("bo") TerCleanerLogBo bo);

}
